//
//  finalViewController.h
//  finalProject
//
//  Created by iD Student on 7/30/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "tower.h"
#import "buildViewController.h"
#import "statsViewController.h"
#import "gameOverViewController.h"
#import "pauseViewController.h"
#import "globals.h"
#import "monster.h"

@interface finalViewController : UIViewController{
    NSTimer *timer;
    UIImageView *oldTile, *oldTower;
    NSMutableArray *towers, *xcoord, *ycoord, *towerImages, *monsters, *monsterImages;
    int lives, cG /*currentGridpoint*/, towerIndex, wave, monstersRemaining, monstersCreated;
    bool waveActive, waveShouldBeActive, towerIsAtCurrentGridpoint, firstMonster, gameOver, timerIsActive;
    float timerValue, nextMonster, spawnInterval;
}
@property buildViewController *controllerBuild;
@property statsViewController *controllerStats;
@property gameOverViewController *controllerGameOver;
@property pauseViewController *controllerPause;
@property (weak, nonatomic) IBOutlet UIButton *button1;
@property (weak, nonatomic) IBOutlet UIButton *button2;
@property (weak, nonatomic) IBOutlet UIButton *button3;
@property (weak, nonatomic) IBOutlet UIButton *button4;
- (IBAction)pause:(id)sender;
- (IBAction)mainButtons:(id)sender;
@property (weak, nonatomic) IBOutlet UILabel *info;
@property (weak, nonatomic) IBOutlet UILabel *labelGold;
@property (weak, nonatomic) IBOutlet UILabel *livesLeft;
@property (weak, nonatomic) IBOutlet UILabel *waves;
@property (weak, nonatomic) IBOutlet UILabel *labelMonstersRemaining;

@end
